[INFO] cloning repository https://github.com/DarkPhoeniz/rc-switcher-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DarkPhoeniz/rc-switcher-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96fc4fb23878fba54230fd8b00f1d3862d2bb85d
[INFO] building DarkPhoeniz/rc-switcher-rust against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DarkPhoeniz/rc-switcher-rust on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/DarkPhoeniz/rc-switcher-rust
[INFO] finished tweaking git repo https://github.com/DarkPhoeniz/rc-switcher-rust
[INFO] tweaked toml for git repo https://github.com/DarkPhoeniz/rc-switcher-rust written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/DarkPhoeniz/rc-switcher-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.1.5
[INFO] [stderr]   Downloaded hash32 v0.1.0
[INFO] [stderr]   Downloaded generic-array v0.11.1
[INFO] [stderr]   Downloaded cortex-m v0.5.10
[INFO] [stderr]   Downloaded cortex-m-rtfm v0.4.3
[INFO] [stderr]   Downloaded aligned v0.3.1
[INFO] [stderr]   Downloaded cortex-m-rt v0.6.10
[INFO] [stderr]   Downloaded owned-singleton-macros v0.1.0
[INFO] [stderr]   Downloaded owned-singleton v0.1.0
[INFO] [stderr]   Downloaded as-slice v0.1.0
[INFO] [stderr]   Downloaded cortex-m-rtfm-macros v0.4.3
[INFO] [stderr]   Downloaded stm32f1xx-hal v0.4.0
[INFO] [stderr]   Downloaded cortex-m v0.6.1
[INFO] [stderr]   Downloaded stm32f1 v0.8.0
[INFO] [stderr]   Downloaded vcell v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5901fdbd832dbcffb0de26a5baa6c2a9d4b689c2a1b4dbe8d504b2d10373bb41
[INFO] running `Command { std: "docker" "start" "-a" "5901fdbd832dbcffb0de26a5baa6c2a9d4b689c2a1b4dbe8d504b2d10373bb41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5901fdbd832dbcffb0de26a5baa6c2a9d4b689c2a1b4dbe8d504b2d10373bb41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5901fdbd832dbcffb0de26a5baa6c2a9d4b689c2a1b4dbe8d504b2d10373bb41", kill_on_drop: false }`
[INFO] [stdout] 5901fdbd832dbcffb0de26a5baa6c2a9d4b689c2a1b4dbe8d504b2d10373bb41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a0e98c3862471a1af1245d4e4f158a40ce011142f38564270fce55413e1f062b
[INFO] running `Command { std: "docker" "start" "-a" "a0e98c3862471a1af1245d4e4f158a40ce011142f38564270fce55413e1f062b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling cortex-m v0.6.1
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling vcell v0.1.2
[INFO] [stderr]    Compiling volatile-register v0.2.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling cortex-m-rt v0.6.10
[INFO] [stderr]    Compiling r0 v0.2.2
[INFO] [stderr]    Compiling stm32f1 v0.8.0
[INFO] [stderr]    Compiling heapless v0.4.4
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling cortex-m v0.5.10
[INFO] [stderr]    Compiling hash32 v0.1.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling generic-array v0.11.1
[INFO] [stderr]    Compiling nb v0.1.2
[INFO] [stderr]    Compiling cortex-m-rtfm v0.4.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling aligned v0.2.0
[INFO] [stderr]    Compiling embedded-hal v0.2.3
[INFO] [stderr]    Compiling cast v0.2.2
[INFO] [stderr]    Compiling as-slice v0.1.0
[INFO] [stderr]    Compiling rc-switcher-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling aligned v0.3.1
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.1.5
[INFO] [stderr]    Compiling owned-singleton-macros v0.1.0
[INFO] [stderr]    Compiling cortex-m-rtfm-macros v0.4.3
[INFO] [stderr]    Compiling owned-singleton v0.1.0
[INFO] [stderr]    Compiling stm32f1xx-hal v0.4.0
[INFO] [stdout] warning: attribute should be applied to a free function, impl method or static
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![no_mangle]
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/main.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[app(device = stm32f1::stm32f103)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcjOuP9L/symbols.o" "/opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/rc-switcher-rust-46d663336ce15286/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-3c548c3b57e9ad38/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-68009ad1b0dd6aea/out" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librtfm-f0d884d6d489336b.rlib" "/opt/rustwide/target/debug/deps/libheapless-2dcf36aa6cf31924.rlib" "/opt/rustwide/target/debug/deps/libhash32-b58cb79fdb44e55a.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-9c36c923160fda7c.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-450f194754cf75f8.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-41a980d4a6d8c7f1.rlib" "/opt/rustwide/target/debug/deps/libaligned-eae2917dbd1ed984.rlib" "/opt/rustwide/target/debug/deps/libstm32f1xx_hal-38a0700eed4473cc.rlib" "/opt/rustwide/target/debug/deps/libcast-44aad123a46d969c.rlib" "/opt/rustwide/target/debug/deps/libstm32f1-7ec0f36a9da0d12c.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-4f09fddb7750069c.rlib" "/opt/rustwide/target/debug/deps/libr0-3e65b43167efda14.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-c27b2b768302bf2f.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-cca2cd55be88ce8d.rlib" "/opt/rustwide/target/debug/deps/libvcell-314ea562238e4e99.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-6b8b79ec15b97329.rlib" "/opt/rustwide/target/debug/deps/libaligned-a64534d7938ed0dd.rlib" "/opt/rustwide/target/debug/deps/libas_slice-f37490eed6ebd223.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-55fc2dc25249aaba.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-c3bdb0186b96d7fb.rlib" "/opt/rustwide/target/debug/deps/libtypenum-d409d4fad21bc908.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-526cae914519c663.rlib" "/opt/rustwide/target/debug/deps/libvoid-71434a536e538d8a.rlib" "/opt/rustwide/target/debug/deps/libnb-3ea894e40fd15271.rlib" "/opt/rustwide/target/debug/deps/libpanic_halt-45d6b42ec31c62db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
[INFO] [stdout]           (.text+0x16): undefined reference to `__libc_csu_fini'
[INFO] [stdout]           /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init'
[INFO] [stdout]           /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `stm32f1xx_hal::rcc::CFGR::pclk1':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.4.0/src/rcc.rs:147: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `stm32f1xx_hal::rcc::CFGR::sysclk':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.4.0/src/rcc.rs:165: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::intrinsics::copy_nonoverlapping':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/intrinsics.rs:2333: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::ptr::write_volatile':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/ptr/mod.rs:1545: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::ptr::write_volatile':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/ptr/mod.rs:1545: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o:/rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/ptr/mod.rs:1545: more undefined references to `memcpy' follow
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::intrinsics::write_bytes':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::mem::uninitialized':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:700: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::mem::maybe_uninit::MaybeUninit<T>::assume_init':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:700: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::mem::manually_drop::ManuallyDrop<T>::into_inner':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:700: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::mem::manually_drop::ManuallyDrop<T>::new':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/manually_drop.rs:71: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/manually_drop.rs:71: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o:/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/heapless-0.4.4/src/__core.rs:29: more undefined references to `memcpy' follow
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::intrinsics::write_bytes':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::intrinsics::write_bytes':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::intrinsics::write_bytes':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `rc_switcher_rust::dma_serial::dma_serial1::Buffer::new':
[INFO] [stdout]           /opt/rustwide/workdir/src/dma_serial.rs:37: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `rc_switcher_rust::dma_serial::dma_serial2::Buffer::new':
[INFO] [stdout]           /opt/rustwide/workdir/src/dma_serial.rs:37: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o:/opt/rustwide/workdir/src/dma_serial.rs:37: more undefined references to `memset' follow
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `rc_switcher_rust::init_2::init':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:64: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:139: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:140: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:141: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:137: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o:/opt/rustwide/workdir/src/main.rs:137: more undefined references to `memcpy' follow
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::intrinsics::write_bytes':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::intrinsics::write_bytes':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `core::intrinsics::write_bytes':
[INFO] [stdout]           /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: undefined reference to `memset'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o:/rustc/a29f341a8ac4e9325a5e37027b4215f50a76d06f/library/core/src/mem/mod.rs:697: more undefined references to `memset' follow
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `main':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:40: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:40: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:40: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o: in function `rc_switcher_rust::init_2::init::{{closure}}':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:129: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/main.rs:129: undefined reference to `memcpy'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rc_switcher_rust-387f2132b6403e2d.rc_switcher_rust.02ea1c5d-cgu.0.rcgu.o:/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.6.1/src/macros.rs:66: more undefined references to `memcpy' follow
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rc-switcher-rust` due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a0e98c3862471a1af1245d4e4f158a40ce011142f38564270fce55413e1f062b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0e98c3862471a1af1245d4e4f158a40ce011142f38564270fce55413e1f062b", kill_on_drop: false }`
[INFO] [stdout] a0e98c3862471a1af1245d4e4f158a40ce011142f38564270fce55413e1f062b
